package spectra.ee.web.api;

public class ApiPublic
{
	public static final int ERROR_CODE_SUCCESS = 0;
	public static final int ERROR_CODE_INVALID_PARAMETER = -1;
	public static final int ERROR_CODE_EXCEPTION = -2;
	
	/** data type : json, xml  */
    public static final String PARAM_DATA_TYPE = "dataType";
    /** data */
    public static final String PARAM_CMD = "cmd";
    /** 파라메터명 : authKey*/
    public static final String PARAM_AUTH_KEY = "authKey";
    /** 파라메터명 : command*/
    public static final String PARAM_COMMAND = "command";
    /** 파라메터명 : form*/
    public static final String PARAM_FORM = "form";
    /** 파라메터명 : service*/
    public static final String PARAM_SERVICE = "service";
    /** 결과값을 담는 속성 명 */
    public static final String RESPONSE_OBJECT = "responseObject";
    /** 결과코드를 담는 속성명 */
    public static final String RESPONSE_ERROR_CODE = "errorCode";
    /** 에러 메시지를 담는 속성명 */
    public static final String RESPONSE_ERROR_MESSAGE = "errorMessage";
	
    ///////////////////////////////////////////////////////////////////////////
    // 공통 플래그
    /** 공통 플래그 : Y - Yes */
    public static final String FLAG_Y = "Y";
    /** 공통 플래그 : N - No */
    public static final String FLAG_N = "N";
    /** 공통 플래그 : D - Deleted */
    public static final String FLAG_D = "D";
    /** 공통 플래그 : O - Optional */
    public static final String FLAG_O = "O";
    /** 공통 플래그 : I - Initial */
    public static final String FLAG_I = "I";

    /** NO-AGENT 상담원 아이디 */
    public static final String ACCOUNT_ID_NO_AGENT = "{NO-AGENT}";
    /** 미처리 채널 아이디 */
    public static final String CHANNEL_ID_NOT_RESPONSE = "CHNL0000000001";
    /** 스팸 초기 플래그 */
    /** 액션결과 : 초기값 */
    public static final String ACTION_RESULT_INITIAL = "AINIT";
    // 서비스타입 (service_type)
    /** 서비스타입 : 공통 */
    public static final String SERVICE_TYPE_COM  = "SVCOM";
    /** 서비스타입 : 상담지식 */
    public static final String SERVICE_TYPE_KB   = "SVKNW";
    /** 서비스타입 : FAQ */
    public static final String SERVICE_TYPE_FAQ  = "SVFAQ";
    /** 서비스타입 : QnA */
    public static final String SERVICE_TYPE_QNA  = "SVQNA";
    /** 서비스타입 : 채팅 */
    public static final String SERVICE_TYPE_CHAT = "SVCHT";
    /** 서비스타입 : SNS */
    public static final String SERVICE_TYPE_SNS  = "SVSNS";
    
    // 시스템예약 사용자ID
    /** 시스템예약 사용자ID : {NO-AGENT} - 스팸체크 전 */
    public static final String AGENT_NO_AGENT        = "{NO-AGENT}";
    /** 시스템예약 사용자ID : {SYS-CUSTOMER} - 일반고객 */
    public static final String AGENT_SYSTEM_CUSTOMER = "{SYS-CUSTOMER}";
    
    /** 폼 이름 */
    public static final String FORM_KB = "kb";
    public static final String FORM_NODE = "node";
    public static final String FORM_TOPN_KEYWORD = "topKeyword";
    public static final String FORM_ID = "id";
    public static final String FORM_SEARCH = "search";
    public static final String FORM_SURVEY = "survey";
    public static final String FORM_SURVEY_RESPONSE = "surveyResponse";
    public static final String FORM_SURVEY_RESPONSE_LIST = "surveyResponseList";
    public static final String FORM_SURVEY_RESPONSE_FORM_LIST = "surveyResponseFormList";
    public static final String FORM_QNA_BOARD = "qnaBoard";
    public static final String FORM_QNA = "qna";
    public static final String FORM_QNA_OPTION = "qnaOption";
    public static final String FORM_ATTACH = "attach";
    public static final String FORM_QNA_WEB = "qnaWeb";
    
    /** 파라메터 속성아이디 **/
    public static final String PARAM_DOMAIN_ID = "domainId";
    public static final String PARAM_NODE_ID = "nodeId";
    public static final String PARAM_KB_ID = "kbId";
    
    public static final String PARAM_ROWS_PER_PAGE = "rowsPerPage";
    public static final String PARAM_START_NO = "startNo";
    
    public static final String PARAM_END_NO = "endNo";
	public static final String PARAM_ORDER_BY = "orderBy";
	public static final String PARAM_SERVICE_TYPE = "serviceType";
	public static final String PARAM_LOG_ID = "logId";
	public static final String PARAM_TOPN_TYPE = "topnType";
	public static final String PARAM_PARENT_ID = "parentId";
	public static final String PARAM_ALIAS = "alias";
	public static final String PARAM_DESCRIPTION = "description";
	public static final String PARAM_LEVEL = "level";
	public static final String PARAM_SYSTEM_TYPE = "systemType";
	public static final String PARAM_ID = "id";
	public static final String PARAM_QUESTION = "question";
	public static final String PARAM_SEARCH_RANGE = "searchRange";
	public static final String PARAM_SEARCH_RETURN_TYPE = "searchReturnType";
	public static final String PARAM_VOLUME = "volume";
	public static final String PARAM_FLAG = "flag";
	public static final String PARAM_LANG_FLAG = "langFlag";
	public static final String PARAM_IS_SEARCH_LOG = "isSearchLog";
	public static final String PARAM_IS_KEYWORD_LOG = "isKeywordLog";
	public static final String PARAM_NODE_ID_PATH = "nodeIdPath";
	public static final String PARAM_PAGE_NO = "pageNo";
	public static final String PARAM_SEARCH_RESULT_COUNT = "searchResultCount";
	public static final String PARAM_IS_SEARCH_HIT_COUNT = "isSearchHitCount";
	public static final String PARAM_SEARCH_LOG_ID = "searchLogId";
	public static final String PARAM_SURVEY_TYPE = "surveyType";
	public static final String PARAM_SURVEY_ID = "surveyId";
	public static final String PARAM_SURVEY_ITEM_ID = "surveyItemId";
	public static final String PARAM_TARGET_ID = "targetId";
	public static final String PARAM_SURVEY_RESPONSE_LIST = "surveyResponseList";
	public static final String PARAM_PROCESS_SEQ = "processSeq";
	public static final String PARAM_RESPONSE_VALUE = "responseValue";
	public static final String PARAM_CODESET_ID = "codesetId";
	public static final String PARAM_RESPONDER_ID = "responderId";
	public static final String PARAM_RESPONDER_NAME = "responderName";
	
	public static final String PARAM_INPUT_TYPE = "inputType";
	public static final String PARAM_ANSWER_TYPE = "answerType";
	public static final String PARAM_CODESET_TYPE = "codesetType";
	public static final String PARAM_MAPPING_ID = "mappingId";
	public static final String PARAM_MAPPING_TYPE = "mappingType";
	public static final String PARAM_TARGET_TABLE = "targetTable";
	public static final String PARAM_TARGET_FIELD = "targetField";
	
	public static final String PARAM_CREATED_DATE = "createdDate";
	public static final String PARAM_KEYWORD = "keyword";
	public static final String PARAM_CONDITION = "condition";
    		
    public static final String PARAM_CUSTOMER_ID = "customerId";
    public static final String PARAM_CUSTOMER_EMAIL = "customerEmail";
    public static final String PARAM_CUSTOMER_NAME = "customerName";
    public static final String PARAM_CUSTOMER_TEL = "customerTel";
    public static final String PARAM_CUSTOMER_NO = "customerNo";
    
    public static final String PARAM_CHANNEL_ID = "channelId";
    public static final String PARAM_QNA_ID = "qnaId";
    public static final String PARAM_QUESTION_TITLE = "questionTitle";
    public static final String PARAM_QUESTION_CONTENTS = "questionContents";
    
    public static final String PARAM_PASSWORD = "password";
    public static final String PARAM_PUBLIC_FLAG = "publicFlag";
    public static final String PARAM_WEBVIEW_FLAG = "webviewFlag";
    
    public static final String PARAM_QNA_OPTION = "option";
    
    public static final String PARAM_ATTACH_COUNT = "attachCount";
	public static final String PARAM_ATTACH = "attach";
    
    public static final String FIELD_FILENAME = "file_name";
	public static final String FIELD_FILESIZE = "file_size";
	public static final String FIELD_FILEEXT = "file_ext";
	public static final String FIELD_FILEPATH = "file_path";
	public static final String FIELD_FILE_RESULTVALUE = "result_value";
}
